<%--
  Created by IntelliJ IDEA.
  User: wyp
  Date: 2020/5/9
  Time: 11:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>退出</title>
</head>
<body>
<%
    session.removeAttribute("user");
    session.invalidate();
    out.print("<script>alert('用户即将退出，确定后退出该页面。');" +
            "window.location.href='../index.jsp'" +
            "</script>"
    );
%>
</body>
</html>
